package ThreadDemo.ThreadLocal;

import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;

public class ThreadLocalTest {
    public static void main(String[] args) {
        Account account = new Account("初始名");
        new MyTest(account,"线程甲").start();
        new MyTest(account,"线程乙").start();
        HashMap m = (HashMap) Collections.synchronizedMap(new HashMap());
    }
}
